<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>com.itxca.spannablex</title>
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script>    <script>const storage = localStorage.getItem("dokka-dark-mode")
const savedDarkMode = storage ? JSON.parse(storage) : false
if(savedDarkMode === true){
    document.getElementsByTagName("html")[0].classList.add("theme-dark")
}</script>
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><link href="../../styles/prism.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" defer="defer"></script><script type="text/javascript" src="../../scripts/prism.js" async="async"></script>  </head>
  <body>
    <div class="navigation-wrapper" id="navigation-wrapper">
      <div id="leftToggler"><span class="icon-toggler"></span></div>
      <div class="library-name"><a href="../../index.html">SpannableX</a></div>
      <div></div>
      <div class="pull-right d-flex"><button id="theme-toggle-button"><span id="theme-toggle"></span></button>
        <div id="searchBar"></div>
      </div>
    </div>
    <div id="container">
      <div id="leftColumn">
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div class="main-content" id="content" pageIds="SpannableX::com.itxca.spannablex////PointingToDeclaration//-1887420133">
          <div class="breadcrumbs"><a href="../../index.html">SpannableX</a>/<a href="index.html">com.itxca.spannablex</a></div>
          <div class="cover ">
            <h1 class="cover"><span><span>Package</span></span> <span>com.</span><wbr></wbr><span>itxca.</span><wbr></wbr><span>spannablex</span></h1>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
            <div class="tabs-section-body">
              <h2 class="">Types</h2>
              <div class="table" data-togglable="Types"><a data-name="240222246%2FClasslikes%2F-1887420133" anchor-label="ReplaceRule" id="240222246%2FClasslikes%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="-replace-rule/index.html"><span>Replace</span><wbr></wbr><span><span>Rule</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="240222246%2FClasslikes%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="-replace-rule/index.html">ReplaceRule</a><span class="token punctuation">(</span>replaceString<span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token punctuation">, </span>isRegex<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token punctuation">, </span>matchRange<span class="token operator">: </span><span data-unresolved-link="kotlin.ranges/IntRange///PointingToDeclaration/">IntRange</span><span class="token operator">?</span><span class="token punctuation">, </span>newString<span class="token operator">: </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="token operator">?</span><span class="token punctuation">, </span>replacementMatch<span class="token operator">: </span><a href="../com.itxca.spannablex.interfaces/-on-span-replacement-match/index.html">OnSpanReplacementMatch</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">替换规则</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="530138626%2FClasslikes%2F-1887420133" anchor-label="Span" id="530138626%2FClasslikes%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="-span/index.html"><span><span>Span</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="530138626%2FClasslikes%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">class </span><a href="-span/index.html">Span</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p>Chain Spannable</p>
sample:
<br/>
<br/>TextView.setText(Span.create()
<br/>                  .text("this is real text.")
<br/>                  .text("spannable").color(Color.BLUE).style(Typeface.BOLD)
<br/>                  .spannable())</div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="689935811%2FClasslikes%2F-1887420133" anchor-label="SpanDsl" id="689935811%2FClasslikes%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="-span-dsl/index.html"><span>Span</span><wbr></wbr><span><span>Dsl</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="689935811%2FClasslikes%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">class </span><a href="-span-dsl/index.html">SpanDsl</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">DSL Spannable</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="-182971160%2FFunctions%2F-1887420133" anchor-label="activateAllTextViewClick" id="-182971160%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="activate-all-text-view-click.html"><span>activate</span><wbr></wbr><span>All</span><wbr></wbr><span>Text</span><wbr></wbr><span>View</span><wbr></wbr><span><span>Click</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-182971160%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="android.app/Activity///PointingToDeclaration/">Activity</span><span class="token punctuation">.</span><a href="activate-all-text-view-click.html"><span class="token function">activateAllTextViewClick</span></a><span class="token punctuation">(</span>background<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span><span><span class="token annotation">@</span><span data-unresolved-link="androidx.annotation/IdRes///PointingToDeclaration/"><span class="token annotation">IdRes</span></span> </span><span class="token keyword">vararg </span>ignoreId<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">循环 <span data-unresolved-link="android.app/Activity///PointingToDeclaration/">Activity</span> 控件并配置 <span data-unresolved-link="android.text.method/LinkMovementMethod///PointingToDeclaration/">LinkMovementMethod</span> 或 <span data-unresolved-link="com.drake.spannable.movement/ClickableMovementMethod///PointingToDeclaration/">ClickableMovementMethod</span></p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="android.app/Fragment///PointingToDeclaration/">Fragment</span><span class="token punctuation">.</span><a href="activate-all-text-view-click.html"><span class="token function">activateAllTextViewClick</span></a><span class="token punctuation">(</span>background<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span><span><span class="token annotation">@</span><span data-unresolved-link="androidx.annotation/IdRes///PointingToDeclaration/"><span class="token annotation">IdRes</span></span> </span><span class="token keyword">vararg </span>ignoreId<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">循环 <span data-unresolved-link="android.app/Fragment///PointingToDeclaration/">Fragment</span> 控件并配置 <span data-unresolved-link="android.text.method/LinkMovementMethod///PointingToDeclaration/">LinkMovementMethod</span> 或 <span data-unresolved-link="com.drake.spannable.movement/ClickableMovementMethod///PointingToDeclaration/">ClickableMovementMethod</span></p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="androidx.viewbinding/ViewBinding///PointingToDeclaration/">ViewBinding</span><span class="token punctuation">.</span><a href="activate-all-text-view-click.html"><span class="token function">activateAllTextViewClick</span></a><span class="token punctuation">(</span>background<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">, </span><span><span class="token annotation">@</span><span data-unresolved-link="androidx.annotation/IdRes///PointingToDeclaration/"><span class="token annotation">IdRes</span></span> </span><span class="token keyword">vararg </span>ignoreId<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">循环 <span data-unresolved-link="androidx.viewbinding/ViewBinding///PointingToDeclaration/">ViewBinding</span> 控件并配置 <span data-unresolved-link="android.text.method/LinkMovementMethod///PointingToDeclaration/">LinkMovementMethod</span> 或 <span data-unresolved-link="com.drake.spannable.movement/ClickableMovementMethod///PointingToDeclaration/">ClickableMovementMethod</span></p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="1260611820%2FFunctions%2F-1887420133" anchor-label="activateClick" id="1260611820%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="activate-click.html"><span>activate</span><wbr></wbr><span><span>Click</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1260611820%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="android.widget/TextView///PointingToDeclaration/">TextView</span><span class="token punctuation">.</span><a href="activate-click.html"><span class="token function">activateClick</span></a><span class="token punctuation">(</span>background<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token operator"> = </span><span class="token boolean">true</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="android.widget/TextView///PointingToDeclaration/">TextView</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">配置 <span data-unresolved-link="android.text.method/LinkMovementMethod///PointingToDeclaration/">LinkMovementMethod</span> 或 <span data-unresolved-link="com.drake.spannable.movement/ClickableMovementMethod///PointingToDeclaration/">ClickableMovementMethod</span></p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="2131064546%2FFunctions%2F-1887420133" anchor-label="autoActivateClick" id="2131064546%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="auto-activate-click.html"><span>auto</span><wbr></wbr><span>Activate</span><wbr></wbr><span><span>Click</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2131064546%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="android.view/View///PointingToDeclaration/">View</span><span class="token operator">?</span><span class="token punctuation">.</span><a href="auto-activate-click.html"><span class="token function">autoActivateClick</span></a><span class="token punctuation">(</span>background<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token punctuation">, </span><span><span class="token annotation">@</span><span data-unresolved-link="androidx.annotation/IdRes///PointingToDeclaration/"><span class="token annotation">IdRes</span></span> </span><span class="token keyword">vararg </span>ignoreId<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">循环获取控件并配置 <span data-unresolved-link="android.text.method/LinkMovementMethod///PointingToDeclaration/">LinkMovementMethod</span> 或 <span data-unresolved-link="com.drake.spannable.movement/ClickableMovementMethod///PointingToDeclaration/">ClickableMovementMethod</span></p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-233313756%2FFunctions%2F-1887420133" anchor-label="plus" id="-233313756%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="plus.html"><span><span>plus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-233313756%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">operator </span><span class="token keyword">fun </span><span data-unresolved-link="android.text/Spanned///PointingToDeclaration/">Spanned</span><span class="token punctuation">.</span><a href="plus.html"><span class="token function">plus</span></a><span class="token punctuation">(</span>other<span class="token operator">: </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="android.text/SpannableStringBuilder///PointingToDeclaration/">SpannableStringBuilder</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">扩展Spanned +, 保留样式 operator <span data-unresolved-link="android.text/Spannable///PointingToDeclaration/">Spannable</span> + <span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span></p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="1133199417%2FFunctions%2F-1887420133" anchor-label="removeAllSpans" id="1133199417%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="remove-all-spans.html"><span>remove</span><wbr></wbr><span>All</span><wbr></wbr><span><span>Spans</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1133199417%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="token punctuation">.</span><a href="remove-all-spans.html"><span class="token function">removeAllSpans</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">删除所有<span data-unresolved-link="android.text.style/CharacterStyle///PointingToDeclaration/">CharacterStyle</span> Span</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-1868635906%2FFunctions%2F-1887420133" anchor-label="removeSpans" id="-1868635906%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="remove-spans.html"><span>remove</span><wbr></wbr><span><span>Spans</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1868635906%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="remove-spans.html">T</a><span class="token operator">&gt; </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="token punctuation">.</span><a href="remove-spans.html"><span class="token function">removeSpans</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">删除指定Span</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="1777995385%2FFunctions%2F-1887420133" anchor-label="spannable" id="1777995385%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="spannable.html"><span><span>spannable</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1777995385%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlin/Any///PointingToDeclaration/">Any</span><span class="token operator">?</span><span class="token punctuation">.</span><a href="spannable.html"><span class="token function">spannable</span></a><span class="token punctuation">(</span>builderAction<span class="token operator">: </span><span class="token keyword"></span><a href="-span-dsl/index.html">SpanDsl</a><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><span data-unresolved-link="kotlin/Unit///PointingToDeclaration/">Unit</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="android.text/SpannableStringBuilder///PointingToDeclaration/">SpannableStringBuilder</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">构建Spannable</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
<a data-name="-359923996%2FFunctions%2F-1887420133" anchor-label="toReplaceRule" id="-359923996%2FFunctions%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="to-replace-rule.html"><span>to</span><wbr></wbr><span>Replace</span><wbr></wbr><span><span>Rule</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-359923996%2FFunctions%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token punctuation">.</span><a href="to-replace-rule.html"><span class="token function">toReplaceRule</span></a><span class="token punctuation">(</span>isRegex<span class="token operator">: </span><span data-unresolved-link="kotlin/Boolean///PointingToDeclaration/">Boolean</span><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span>matchIndex<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span>matchRange<span class="token operator">: </span><span data-unresolved-link="kotlin.ranges/IntRange///PointingToDeclaration/">IntRange</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span>newString<span class="token operator">: </span><span data-unresolved-link="kotlin/CharSequence///PointingToDeclaration/">CharSequence</span><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span>replacementMatch<span class="token operator">: </span><a href="../com.itxca.spannablex.interfaces/-on-span-replacement-match/index.html">OnSpanReplacementMatch</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">)</span><span class="token operator">: </span><a href="-replace-rule/index.html">ReplaceRule</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">创建替换规则</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Properties</h2>
              <div class="table" data-togglable="Properties"><a data-name="762793841%2FProperties%2F-1887420133" anchor-label="span" id="762793841%2FProperties%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":library:dokkaHtml/release" data-filterable-set=":library:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex">
                        <div><a href="span.html">span</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="762793841%2FProperties%2F-1887420133"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title">
                        <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":library:dokkaHtml/release"><a data-name="762793841%2FProperties%2F-1887420133" anchor-label="span" id="762793841%2FProperties%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token punctuation">.</span><a href="span.html">span</a><span class="token operator">: </span><span data-unresolved-link="android.text/SpannedString///PointingToDeclaration/">SpannedString</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="762793841%2FProperties%2F-1887420133" anchor-label="span" id="762793841%2FProperties%2F-1887420133" data-filterable-set=":library:dokkaHtml/release"></a><p class="paragraph"><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span> 转为 <span data-unresolved-link="android.text/Spannable///PointingToDeclaration/">Spannable</span>, 以便进行plus操作</p></div></div></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

